package com.cloud.spider.threadtasks;

/**
 * @author 柳晓宇
 * @description 测试线程任务
 * @create 2023/9/3
 */
public class MyRunnable implements Runnable{
    private String val;

    public MyRunnable() {
    }

    public MyRunnable(String val) {
        this.val = val;
    }

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+ "=======================" + val);
    }
}
